package com.regret.medicine;

import java.sql.JDBCType;

public enum ColumnFieldType {

    TABLE_CAT("TABLE_CAT", null),
    TABLE_SCHEM("TABLE_SCHEM", null),
    TABLE_NAME("TABLE_NAME", null),
    COLUMN_NAME("COLUMN_NAME", null),
    DATA_TYPE("DATA_TYPE", JDBCType.class),
    COLUMN_SIZE("COLUMN_SIZE", null),
    BUFFER_LENGTH("BUFFER_LENGTH", null),
    DECIMAL_DIGITS("DECIMAL_DIGITS", null),
    REMARKS("REMARKS", null),
    COLUMN_DEF("COLUMN_DEF", null),
    SQL_DATA_TYPE("SQL_DATA_TYPE", null),
    SQL_DATETIME_SUB("SQL_DATETIME_SUB", null),
    CHAR_OCTET_LENGTH("CHAR_OCTET_LENGTH", null),
    IS_NULLABLE("IS_NULLABLE", null),
    SCOPE_CATALOG("SCOPE_CATALOG", null),
    SCOPE_SCHEMA("SCOPE_SCHEMA", null),
    SCOPE_TABLE("SCOPE_TABLE", null),
    SOURCE_DATA("SOURCE_DATA", null),
    IS_AUTOINCREMENT("IS_AUTOINCREMENT", null),
    IS_GENERATEDCOLUMN("IS_GENERATEDCOLUMN", null),
    ;

    public final String name;
    public final Class clazz;

    ColumnFieldType(String name, Class clazz) {
        this.name = name;
        this.clazz = clazz;
    }

}
